package com.cai.file.demo;

import java.io.File;

public class DeleteDirDemo {
    public static void main(String[] args) {
        File file = new File("./demo");
        boolean success = file.delete();
        System.out.println("目录是否删除成功:"+success);
    }
}
